//
//  IFlyIVWStreamService.h
//  AIKITDemo
//
//  Created by xyzhang on 2023/3/16.
//

#import <Foundation/Foundation.h>
#import "IFlyCustomDefine.h"
#import "IFlyVoiceWakeupDelegate.h"
#import "IFlyIVWConfig.h"

NS_ASSUME_NONNULL_BEGIN

@interface IFlyIVWStreamService : NSObject

- (instancetype)initWithDelegate:(id<IFlyVoiceWakeupDelegate>)delegate withConfig:(IFlyIVWConfig *)config;

- (BOOL)startListening;

- (BOOL)stopWrite;

- (void)cancel;

- (BOOL)writeAudio:(NSData *) audioData;

@end

NS_ASSUME_NONNULL_END
